Skip to content

Allow text blocks with spaces around first and last newlines#86

Closed
ikirudennis wants to merge 3 commits intodevelopfrom
pr85
Closed

Allow text blocks with spaces around first and last newlines#86
ikirudennis wants to merge 3 commits intodevelopfrom
pr85

Conversation

@ikirudennis
Copy link
Member

This template snippit broke with 4.0.3:

        {% blocktextile %}
        Testing 1 2 3
        {% endblocktextile %}

This PR solves the problem.

I added a unittest to prove it.

Also added a block = None to have a starting block variable.

@ikirudennis
Copy link
Member Author

@slimadvies: I'm not entirely sure what happened there, but at least we've got a new branch for me to test out the github actions along with your code changes.

@ikirudennis ikirudennis changed the base branch from master to develop February 15, 2026 20:18
@slimadvies
Copy link

Ah, You've made a new PR. Stupid GitHub, cannot reopen a PR. Our company uses Forgejo for our repos. Much better.

@slimadvies
Copy link

I've created a new PR, that fixes these checks. Please check

#87

#86 can be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants